/*
 * TeacherDb.h
 *
 *  Created on: 4 May 2010
 *      Author: User
 */

#ifndef TEACHERDESCRIPTIONDB_H_
#define TEACHERDESCRIPTIONDB_H_
#include "OdbcConnectionSingleton.h"
class TeacherDescriptionDb {
public:
	TeacherDescriptionDb(const string *dbName, const string *user, const string *passwd);

	virtual ~TeacherDescriptionDb();
	virtual string *getAem(const string *name, const string *lastName) const =0;
	string *getName(const string *aem) const;
	string *getLastName(const string *aem) const;
	virtual string *getInsuranceNumber(const string *aem) const=0;
	virtual bool saveInsuranceNumber(const string *aem, const string *insurance) const=0;
	virtual bool saveName(const string *aem, const string *name) const =0;
	virtual bool saveLastName(const string *aem, const string *lastName) const=0;

};

#endif /* TEACHERDESCRIPTIONDB_H_ */
